<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
ControlOrientation (Sea Glass Look and Feel for Swing 0.2 API)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="ControlOrientation (Sea Glass Look and Feel for Swing 0.2 API)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ControlOrientation.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../com/seaglasslookandfeel/util/ImageCache.html" title="class in com.seaglasslookandfeel.util"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?com/seaglasslookandfeel/util/ControlOrientation.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ControlOrientation.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.seaglasslookandfeel.util</FONT>
<BR>
Enum ControlOrientation</H2>
<PRE>
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A>&lt;<A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A>&gt;
      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.seaglasslookandfeel.util.ControlOrientation</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>&lt;<A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A>&gt;</DD>
</DL>
<HR>
<DL>
<DT><PRE>public enum <B>ControlOrientation</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;<A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A>&gt;</DL>
</PRE>

<P>
An orientation corresponding to a <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/JScrollBar.html?is-external=true" title="class or interface in javax.swing"><CODE>JScrollBar</CODE></A> or
 <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/JTabbedPane.html?is-external=true" title="class or interface in javax.swing"><CODE>JTabbedPane</CODE></A>. The methods in this enumeration allow for
 orentation-agnostic calculations, which can be used when laying out a scroll
 bar or tabbed pane tab area. A scroll bar, regardless of its orientation, has
 a length and thickness, as does the tab area of a tabbed pane. These values
 correspond to different dimensions (x or y) depending on the orientation.
<P>

<P>
<DL>
<DT><B>Author:</B></DT>
  <DD>Ken Orr, Kathryn Huxtable</DD>
</DL>
<HR>

<P>
<!-- =========== ENUM CONSTANT SUMMARY =========== -->

<A NAME="enum_constant_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Enum Constant Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#HORIZONTAL">HORIZONTAL</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#VERTICAL">VERTICAL</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#createBounds(java.awt.Component, int, int)">createBounds</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;container,
             int&nbsp;position,
             int&nbsp;length)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates bounds based on the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt"><CODE>Component</CODE></A>, position and length.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#createBounds(int, int, int, int)">createBounds</A></B>(int&nbsp;position,
             int&nbsp;orthogonalOffset,
             int&nbsp;length,
             int&nbsp;thickness)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates bounds based on the position, orthogonal offset, length, and
 thickness.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#createCenteredBounds(java.awt.Component, int, int, int)">createCenteredBounds</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;container,
                     int&nbsp;position,
                     int&nbsp;length,
                     int&nbsp;thickness)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates bounds centered in the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt"><CODE>Component</CODE></A> located at the
 given position, with the given thickness and length.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getLength(java.awt.Dimension)">getLength</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Dimension.html?is-external=true" title="class or interface in java.awt">Dimension</A>&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the length of the given size.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getLength(java.awt.Rectangle)">getLength</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the length of the given rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getOrientation(int)">getOrientation</A></B>(int&nbsp;swingScrollBarOrientation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a Swing orientation (either <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#HORIZONTAL" title="class or interface in javax.swing"><CODE>SwingConstants.HORIZONTAL</CODE></A> or
 <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#VERTICAL" title="class or interface in javax.swing"><CODE>SwingConstants.VERTICAL</CODE></A> to a <code>ControlOrientation</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getOrthogonalOffset(int, int)">getOrthogonalOffset</A></B>(int&nbsp;x,
                    int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the orthogonal offset from the given x and y positions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getOrthogonalOffset(java.awt.Point)">getOrthogonalOffset</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the orthogonal offset from the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt"><CODE>Point</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getOrthogonalOffset(java.awt.Rectangle)">getOrthogonalOffset</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the orthogonal offset from the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt"><CODE>Rectangle</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getPosition(int, int)">getPosition</A></B>(int&nbsp;x,
            int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the position value from the given x and y values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getPosition(java.awt.Point)">getPosition</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</A>&nbsp;point)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the position from the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt"><CODE>Point</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getPosition(java.awt.Rectangle)">getPosition</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the position from the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt"><CODE>Rectangle</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getThickness(java.awt.Dimension)">getThickness</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Dimension.html?is-external=true" title="class or interface in java.awt">Dimension</A>&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the thickness of the given size.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#getThickness(java.awt.Rectangle)">getThickness</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the thickness of the given rectangle.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#updateBoundsLength(java.awt.Rectangle, int)">updateBoundsLength</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,
                   int&nbsp;newLength)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resize the given bounds to the given length.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#updateBoundsOrthogonalOffset(java.awt.Rectangle, int)">updateBoundsOrthogonalOffset</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,
                             int&nbsp;newOrthogonalOffset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the given bounds to the given orthogonal offset.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#updateBoundsPosition(java.awt.Rectangle, int)">updateBoundsPosition</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,
                     int&nbsp;newPosition)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the given bounds to the given position.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract &nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#updateBoundsThickness(java.awt.Rectangle, int)">updateBoundsThickness</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,
                      int&nbsp;newThickness)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resize the given bounds to the given thickness.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#valueOf(java.lang.String)">valueOf</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html#values()">values</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
the order they are declared.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ ENUM CONSTANT DETAIL =========== -->

<A NAME="enum_constant_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Enum Constant Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="HORIZONTAL"><!-- --></A><H3>
HORIZONTAL</H3>
<PRE>
public static final <A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A> <B>HORIZONTAL</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="VERTICAL"><!-- --></A><H3>
VERTICAL</H3>
<PRE>
public static final <A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A> <B>VERTICAL</B></PRE>
<DL>
<DL>
</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="values()"><!-- --></A><H3>
values</H3>
<PRE>
public static <A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A>[] <B>values</B>()</PRE>
<DL>
<DD>Returns an array containing the constants of this enum type, in
the order they are declared.  This method may be used to iterate
over the constants as follows:
<pre>
for (ControlOrientation c : ControlOrientation.values())
&nbsp;   System.out.println(c);
</pre>
<P>
<DD><DL>

<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
the order they are declared</DL>
</DD>
</DL>
<HR>

<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
valueOf</H3>
<PRE>
public static <A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A> <B>valueOf</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Returns the enum constant of this type with the specified name.
The string must match <I>exactly</I> an identifier used to declare an
enum constant in this type.  (Extraneous whitespace characters are 
not permitted.)
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
<DT><B>Returns:</B><DD>the enum constant with the specified name
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
with the specified name
<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL>
</DD>
</DL>
<HR>

<A NAME="getOrientation(int)"><!-- --></A><H3>
getOrientation</H3>
<PRE>
public static <A HREF="../../../com/seaglasslookandfeel/util/ControlOrientation.html" title="enum in com.seaglasslookandfeel.util">ControlOrientation</A> <B>getOrientation</B>(int&nbsp;swingScrollBarOrientation)</PRE>
<DL>
<DD>Converts a Swing orientation (either <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#HORIZONTAL" title="class or interface in javax.swing"><CODE>SwingConstants.HORIZONTAL</CODE></A> or
 <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#VERTICAL" title="class or interface in javax.swing"><CODE>SwingConstants.VERTICAL</CODE></A> to a <code>ControlOrientation</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>swingScrollBarOrientation</CODE> - the Swing scroll bar orientation,
                                   either
                                   <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#HORIZONTAL" title="class or interface in javax.swing"><CODE>SwingConstants.HORIZONTAL</CODE></A> or
                                   <A HREF="http://java.sun.com/javase/6/docs/api/javax/swing/SwingConstants.html?is-external=true#VERTICAL" title="class or interface in javax.swing"><CODE>SwingConstants.VERTICAL</CODE></A>
<DT><B>Returns:</B><DD>the <code>ControlOrientation</code> to the corresponding Swing scroll
         bar orientation.</DL>
</DD>
</DL>
<HR>

<A NAME="getThickness(java.awt.Dimension)"><!-- --></A><H3>
getThickness</H3>
<PRE>
public abstract int <B>getThickness</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Dimension.html?is-external=true" title="class or interface in java.awt">Dimension</A>&nbsp;size)</PRE>
<DL>
<DD>Gets the thickness of the given size. Thickness corresponds to the
 dimension that is orthogonal to the main direction of the component. That
 is, a horizontal scroll bar's thickness corresponds to the y dimension,
 while a vertical scroll bar's thickness corresponds to the x dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - the 2-dimensional size from which to extract the thickness.
<DT><B>Returns:</B><DD>the thickness of the given size.</DL>
</DD>
</DL>
<HR>

<A NAME="getThickness(java.awt.Rectangle)"><!-- --></A><H3>
getThickness</H3>
<PRE>
public abstract int <B>getThickness</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</PRE>
<DL>
<DD>Gets the thickness of the given rectangle. Thickness corresponds to the
 dimension that is orthogonal to the main direction of the component. That
 is, a horizontal scroll bar's thickness corresponds to the y dimension,
 while a vertical scroll bar's thickness corresponds to the x dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the Rectangle from which to extract the thickness.
<DT><B>Returns:</B><DD>the thickness of the given size.</DL>
</DD>
</DL>
<HR>

<A NAME="getLength(java.awt.Dimension)"><!-- --></A><H3>
getLength</H3>
<PRE>
public abstract int <B>getLength</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Dimension.html?is-external=true" title="class or interface in java.awt">Dimension</A>&nbsp;size)</PRE>
<DL>
<DD>Gets the length of the given size. Length corresponds to the dimension
 that is in line with the main direction of the component. That is, a
 horizontal scroll bar's length corresponds to the x dimension, while a
 vertical scroll bar's length corresponds to the y dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - the 2-dimensional size from which to extract the length.
<DT><B>Returns:</B><DD>the length of the given size.</DL>
</DD>
</DL>
<HR>

<A NAME="getLength(java.awt.Rectangle)"><!-- --></A><H3>
getLength</H3>
<PRE>
public abstract int <B>getLength</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</PRE>
<DL>
<DD>Gets the length of the given rectangle. Length corresponds to the
 dimension that is in line with the main direction of the component. That
 is, a horizontal scroll bar's length corresponds to the x dimension,
 while a vertical scroll bar's length corresponds to the y dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the Rectangle from which to extract the length.
<DT><B>Returns:</B><DD>the length of the given size.</DL>
</DD>
</DL>
<HR>

<A NAME="getPosition(java.awt.Point)"><!-- --></A><H3>
getPosition</H3>
<PRE>
public abstract int <B>getPosition</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</A>&nbsp;point)</PRE>
<DL>
<DD>Gets the position from the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt"><CODE>Point</CODE></A>. Position refers to the
 dimension of a point in line with the main direction of the component.
 That is, a horiztonal scroll bar's position corresponds to the x
 dimension, while a vertical scroll bar's position corresponds to the y
 dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>point</CODE> - the <code>Point</code> from which to extract the position.
<DT><B>Returns:</B><DD>the position value of the given <code>Point</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="getPosition(java.awt.Rectangle)"><!-- --></A><H3>
getPosition</H3>
<PRE>
public abstract int <B>getPosition</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</PRE>
<DL>
<DD>Gets the position from the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt"><CODE>Rectangle</CODE></A>. Position refers to
 the dimension of a point in line with the main direction of the
 component. That is, a horiztonal scroll bar's position corresponds to the
 x dimension, while a vertical scroll bar's position corresponds to the y
 dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the <code>Rectangle</code> from which to extract the position.
<DT><B>Returns:</B><DD>the position value of the given <code>Point</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="getPosition(int, int)"><!-- --></A><H3>
getPosition</H3>
<PRE>
public abstract int <B>getPosition</B>(int&nbsp;x,
                                int&nbsp;y)</PRE>
<DL>
<DD>Gets the position value from the given x and y values. Position refers to
 the coordinate which is in line with the main direction of the component.
 That is, a horiztonal scroll bar's value corresponds to the x value,
 while a vertical scroll bar's value corresponds to the y value.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the x value from which to extract the position.<DD><CODE>y</CODE> - the y value from which to extract the position.
<DT><B>Returns:</B><DD>the position value of the given x and y values.</DL>
</DD>
</DL>
<HR>

<A NAME="getOrthogonalOffset(java.awt.Point)"><!-- --></A><H3>
getOrthogonalOffset</H3>
<PRE>
public abstract int <B>getOrthogonalOffset</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</A>&nbsp;point)</PRE>
<DL>
<DD>Gets the orthogonal offset from the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt"><CODE>Point</CODE></A>. Orthogonal
 offset refers to the dimension of a point orthogonal to the main
 direction of the component. That is, a horiztonal scroll bar's position
 corresponds to the x dimension, while a vertical scroll bar's position
 corresponds to the y dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>point</CODE> - the <code>Point</code> from which to extract the offset.
<DT><B>Returns:</B><DD>the orthogonal offset value of the given <code>Point</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="getOrthogonalOffset(java.awt.Rectangle)"><!-- --></A><H3>
getOrthogonalOffset</H3>
<PRE>
public abstract int <B>getOrthogonalOffset</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds)</PRE>
<DL>
<DD>Gets the orthogonal offset from the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt"><CODE>Rectangle</CODE></A>. Orthogonal
 offset refers to the dimension of a point orthogonal to the main
 direction of the component. That is, a horiztonal scroll bar's position
 corresponds to the x dimension, while a vertical scroll bar's position
 corresponds to the y dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the <code>Rectangle</code> from which to extract the offset.
<DT><B>Returns:</B><DD>the orthogonal offset value of the given <code>Point</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="getOrthogonalOffset(int, int)"><!-- --></A><H3>
getOrthogonalOffset</H3>
<PRE>
public abstract int <B>getOrthogonalOffset</B>(int&nbsp;x,
                                        int&nbsp;y)</PRE>
<DL>
<DD>Gets the orthogonal offset from the given x and y positions. Orthogonal
 offset refers to the dimension of a point orthogonal to the main
 direction of the component. That is, a horiztonal scroll bar's position
 corresponds to the x dimension, while a vertical scroll bar's position
 corresponds to the y dimension.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - the x value from which to extract the offset.<DD><CODE>y</CODE> - the y value from which to extract the offset.
<DT><B>Returns:</B><DD>the orthogonal offset value of the given x and y values.</DL>
</DD>
</DL>
<HR>

<A NAME="updateBoundsPosition(java.awt.Rectangle, int)"><!-- --></A><H3>
updateBoundsPosition</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>updateBoundsPosition</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,
                                               int&nbsp;newPosition)</PRE>
<DL>
<DD>Moves the given bounds to the given position. For a horiztonal scroll bar
 this translates into <code>bounds.x = newPosition</code>, while for a vertical
 scroll bar this translates into <code>bounds.y = newPosition</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the bounds to update with the new position.<DD><CODE>newPosition</CODE> - the new position to set the bounds to.
<DT><B>Returns:</B><DD>the updated bounds.</DL>
</DD>
</DL>
<HR>

<A NAME="updateBoundsOrthogonalOffset(java.awt.Rectangle, int)"><!-- --></A><H3>
updateBoundsOrthogonalOffset</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>updateBoundsOrthogonalOffset</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,
                                                       int&nbsp;newOrthogonalOffset)</PRE>
<DL>
<DD>Moves the given bounds to the given orthogonal offset. For a horizontal
 scroll bar this translates into <code>bounds.y = newOrthogonalOffset</code>,
 while for a vertical scroll bar this translates into
 <code>bounds.x = newOrthogonalOffset</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the bounds to update with the new orthogonal
                             offset.<DD><CODE>newOrthogonalOffset</CODE> - the new orthogonal offset to set the bounds
                             to.
<DT><B>Returns:</B><DD>the updated bounds.</DL>
</DD>
</DL>
<HR>

<A NAME="updateBoundsLength(java.awt.Rectangle, int)"><!-- --></A><H3>
updateBoundsLength</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>updateBoundsLength</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,
                                             int&nbsp;newLength)</PRE>
<DL>
<DD>Resize the given bounds to the given length. For a horizontal scroll bar
 this translates into <code>bounds.width = newLength</code>, while for a
 vertical scroll bar this translates into
 <code>bounds.height = newLength</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the bounds to update with the new length.<DD><CODE>newLength</CODE> - the new length to set the bounds to.
<DT><B>Returns:</B><DD>the updated bounds.</DL>
</DD>
</DL>
<HR>

<A NAME="updateBoundsThickness(java.awt.Rectangle, int)"><!-- --></A><H3>
updateBoundsThickness</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>updateBoundsThickness</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A>&nbsp;bounds,
                                                int&nbsp;newThickness)</PRE>
<DL>
<DD>Resize the given bounds to the given thickness. For a horizontal scroll
 bar this translates into <code>bounds.height = newThickness</code>, while for
 a vertical scroll bar this translates into
 <code>bounds.width = newThickness</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the bounds to update with the new thickness.<DD><CODE>newThickness</CODE> - the new thickness to set the bounds to.
<DT><B>Returns:</B><DD>the updated bounds.</DL>
</DD>
</DL>
<HR>

<A NAME="createBounds(java.awt.Component, int, int)"><!-- --></A><H3>
createBounds</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>createBounds</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;container,
                                       int&nbsp;position,
                                       int&nbsp;length)</PRE>
<DL>
<DD>Creates bounds based on the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt"><CODE>Component</CODE></A>, position and length.
 The supplied component will be used to determine the thickness of the
 bounds. The position will be used to locate the bounds along the
 scrollable axis. The length will be used to determine the length of the
 bounds along the scrollable axis.

 <p>Horizontal scroll bars, the bounds will be derived like this:

 <pre>new Rectangle(position, 0, length, container.getHeigth())</pre>
 </p>

 <p>Vertical scroll bar bounds will be derived like this:

 <pre>new Rectangle(0, container.getWidth(), position, length)</pre>
 </p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>container</CODE> - the <code>Component</code> to use to determine the thickness
                   of the bounds.<DD><CODE>position</CODE> - the position of the bounds.<DD><CODE>length</CODE> - the length of the bounds.
<DT><B>Returns:</B><DD>the created bounds.</DL>
</DD>
</DL>
<HR>

<A NAME="createBounds(int, int, int, int)"><!-- --></A><H3>
createBounds</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>createBounds</B>(int&nbsp;position,
                                       int&nbsp;orthogonalOffset,
                                       int&nbsp;length,
                                       int&nbsp;thickness)</PRE>
<DL>
<DD>Creates bounds based on the position, orthogonal offset, length, and
 thickness.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>position</CODE> - the new position.<DD><CODE>orthogonalOffset</CODE> - the new orthogonal offset.<DD><CODE>length</CODE> - the new length.<DD><CODE>thickness</CODE> - the new thickness.
<DT><B>Returns:</B><DD>the new bounds Rectangle.</DL>
</DD>
</DL>
<HR>

<A NAME="createCenteredBounds(java.awt.Component, int, int, int)"><!-- --></A><H3>
createCenteredBounds</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</A> <B>createCenteredBounds</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt">Component</A>&nbsp;container,
                                               int&nbsp;position,
                                               int&nbsp;length,
                                               int&nbsp;thickness)</PRE>
<DL>
<DD>Creates bounds centered in the given <A HREF="http://java.sun.com/javase/6/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt"><CODE>Component</CODE></A> located at the
 given position, with the given thickness and length.

 <p>Horizontal scroll bars, the bounds will be derived like this:

 <pre>new Rectangle(position, container.getHeight()/2 - thickness/2, length, thickness)</pre>
 </p>

 <p>Vertical scroll bars, the bounds will be derived like this:

 <pre>new Rectangle(container.getWidth()/2 - thickness/2, position, thickness, length)</pre>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>container</CODE> - the <code>Component</code> to use to determine the thickness
                   of the bounds.<DD><CODE>position</CODE> - the position of the bounds.<DD><CODE>length</CODE> - the length of the bounds.<DD><CODE>thickness</CODE> - the thickness of the given bounds.
<DT><B>Returns:</B><DD>the created bounds.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ControlOrientation.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../com/seaglasslookandfeel/util/ImageCache.html" title="class in com.seaglasslookandfeel.util"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?com/seaglasslookandfeel/util/ControlOrientation.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ControlOrientation.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &#169; 2009-2012 <a href="http://seaglasslookandfeel.com">seaglasslookandfeel.com</a>. All Rights Reserved.
</BODY>
</HTML>
